PFindParaAttr(const char * sParaStyle, short cAlignment, short cLeadingType);
Story editor only. The PFindParaAttr command works only in story editor. If the story editor is not active, PFindParaAttr throws a CQ_LO_INVALID_MODE exception..const char * sParaStyle;
Name of style exactly as it appears inStyles palette (maximum of 31 characters).
"Any" for Any paragraph style (i.e., to not include paragraph style in search criteria; default setting)
"No style" for No Styleshort cAlignment;
kFCAttrAny for Any alignment (i.e., to not include alignment in search criteria; default setting)
kAlignmentLeft for Left
kAlignmentCenter for Center
kAlignmentRight for Right
kAlignmentJustify for Justify
kAlignmentForce for Force Justifyshort cLeadingType;
kFCAttrAny for Any leading method (i.e., to not include leading method in search criteria; default setting)
kLeadProportional for Proportional
kLeadTopOfCaps for Top of Caps
kLeadBaseline for Baseline
All attributes cleared first. The settings you include with the PFindParaAttr command replace all existing attribute settings.
Example. The following example changes all left-aligned text in the current publication to full-justifed text. Notice that it first sets all other Find and Change attributes to Any.
PFindTypeAttr1("Any", kFCAttrAny, kFCAttrAny, kFCAttrAny, kFCAttrAny, kFCAttrAny);
PChangeTypeAttr1("Any", kFCAttrAny, kFCAttrAny, kFCAttrAny, kFCAttrAny, kFCAttrAny);
PFindTypeAttr2(kFCAttrAny, kFCAttrAny, "Any", kFCAttrAny);
PChangeTypeAttr2(kFCAttrAny, kFCAttrAny, "Any", kFCAttrAny);
PFindParaAttr("Any", kAlignmentLeft, kFCAttrAny);
PChangeParaAttr("Any", kAlignmentJustify, kFCAttrAny);
PChangeAll("", "", kFCSAllStories, false, false, false);
The PGetChangeParaAttr, PGetChangeTypeAttr1, PGetChangeTypeAttr2, PGetChangeWindow, PGetFindParaAttr, PGetFindTypeAttr1, PGetFindTypeAttr2, and PGetFindWindow queries
Adobe PageMaker 6.5 Help > Commands > Utilities > Find
Comments or suggestions? Contact Adobe Developer Support